﻿using MDT.LifeSewagePlatform.Entity;
using MDT.LifeSewagePlatform.Entity.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace MDT.LifeSewagePlatform.IRepository
{
    public interface IIpAddressRepository: IBaseRepository<IpAddressEntity>
    {
        public IQueryable<IpAddressView> GetIpAddresses(Expression<Func<IpAddressEntity, bool>> expression);
        public IQueryable<IpAddressDto> GetIpAddressDto(Expression<Func<IpAddressEntity, bool>> expression);

        public  Task<bool> AddAsync(IpAddressEntity ipAddress);
    }
}
